import React from 'react';
import {Button as AntdButton} from 'antd-mobile';
import style from './css/Button.css';

class Button extends React.Component {
	
	render() {
		return (
			<span className='buttonContainer'>
				<AntdButton 
				className={this.props.className} 
				type={this.props.type} 
				size={this.props.size} 
				activeStyle={this.props.activeStyle} 
				activeClassName={this.props.activeClassName} 
				disabled={this.props.disabled} 
				onClick={this.props.onClick} 
				style={this.props.style} 
				inline={this.props.inline} 
				loading={this.props.loading} 
				icon={this.props.icon} 
				prefixCls={this.props.prefixCls}>
	        		{this.props.children}
	        	</AntdButton>
        	</span>
		);
	}
	
}

export default Button;